package com.neusoft.bizcore.webauth.secret;

import org.springframework.security.core.AuthenticationException;

/**
 * @author WYS
 * @date 2021年3月9日 下午1:54:49
 */
public class BizcoreAuthenticationException extends AuthenticationException {

    private static final long serialVersionUID = -6445456628958256304L;

    private String account;

    public BizcoreAuthenticationException(final String msg, final String account) {
        super(msg);
        this.account = account;
    }

    private BizcoreAuthenticationException(final String msg) {
        super(msg);
    }

    public BizcoreAuthenticationException(final String msg, final Throwable t) {
        super(msg, t);
    }

    public String getAccount() {
        return this.account;
    }

}
